﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="DefaultControl.ascx.cs" Inherits="ATMSystem_G5_HaUI.UC1.Control.DefaultControl" %>
<div id="left">
    <asp:Button runat="server" ID="btn1" Text="Button1" />
    <asp:Button runat="server" ID="btn2" Text="Button2" />
    <asp:Button runat="server" ID="btn3" Text="Button3" />
</div>
<div id="center">
    <div id="divtop">
        <div id="banner">
            <div id="divicon"></div>
            <div id="divbanknem">
                <p>THE WORLD BANK</p>
            </div>
        </div>
    </div>
    <div id="divCenterMain">
        <asp:UpdatePanel ID="UpdatePanelDefault" runat="server">
            <ContentTemplate>
                <div id="label">
                    <p>
                        <asp:Label runat="server" ID="lb1" Text="Welcome to ATM System"></asp:Label><br />                        
                    </p>
                    <p>
                        <asp:Label runat="server" ID="lb2" Text="Insert your card..."></asp:Label>                        
                    </p>
                </div>
            </ContentTemplate>
        </asp:UpdatePanel>

        <asp:UpdatePanel ID="UpdatePanelValidCardFail" runat="server">
            <ContentTemplate>
                <div id="Div1">
                    <asp:Label runat="server" ID="Label2" Text="Card is not valid"></asp:Label><br />
                    <asp:Label runat="server" ID="Label3" Text="Insert your card..."></asp:Label>
                </div>
            </ContentTemplate>
        </asp:UpdatePanel>

        <asp:UpdatePanel ID="UpdatePanelValidPIN" runat="server">
            <ContentTemplate>
                <div id="Div2" class="uc1Main">
                    <asp:Label runat="server" ID="Label4" Text="Insert your PIN"></asp:Label><br />
                    <asp:TextBox runat="server" ID="txtPIN" TextMode="Password"></asp:TextBox>
                </div>
            </ContentTemplate>
        </asp:UpdatePanel>

        <asp:UpdatePanel ID="UpdatePanelReValidPIN" runat="server">
            <ContentTemplate>
                <div id="Div3" class="uc1Main">
                    <asp:Label runat="server" ID="Label5" Text="Insert your PIN"></asp:Label><br />
                    <asp:TextBox runat="server" ID="txtRePIN" TextMode="Password"></asp:TextBox>
                </div>
            </ContentTemplate>
        </asp:UpdatePanel>

        <asp:UpdatePanel ID="UpdatePanelBlockCard" runat="server">
            <ContentTemplate>
                <div id="Div4" class="uc1Main">
                    <asp:Label runat="server" ID="Label6" Text="Your card is blocked and swallowed"></asp:Label><br />
                </div>
            </ContentTemplate>
        </asp:UpdatePanel>

        <asp:UpdatePanel ID="UpdatePanelMainMenu" runat="server">
            <ContentTemplate>
                <div id="Div5">
                    <asp:Label runat="server" ID="Label7" Text="Chuc nang 1"></asp:Label><br />
                    <asp:Label runat="server" ID="Label8" Text="Chuc nang 2"></asp:Label><br />
                    <asp:Label runat="server" ID="Label9" Text="Chuc nang 3"></asp:Label><br />
                    <asp:Label runat="server" ID="Label10" Text="Chuc nang 4"></asp:Label><br />
                    <asp:Label runat="server" ID="Label11" Text="Chuc nang 5"></asp:Label><br />
                    <asp:Label runat="server" ID="Label12" Text="Chuc nang 6"></asp:Label><br />
                </div>
            </ContentTemplate>
        </asp:UpdatePanel>
    </div>
</div>
<div id="right">
    <asp:Button runat="server" ID="btn4" Text="Button4" />
    <asp:Button runat="server" ID="btn5" Text="Button5" />
    <asp:Button runat="server" ID="btn6" Text="Button6" />
</div>
<div class="divbottom">
    <div id="divnumpad">
        <div id="line1">
            <asp:Button ID="num1" runat="server" Text="1" />
            <asp:Button ID="num2" runat="server" Text="2" />
            <asp:Button ID="num3" runat="server" Text="3" />
            <asp:Button ID="btnCancel" runat="server" Text="Cancel" />
        </div>
        <div id="line2">
            <asp:Button ID="num4" runat="server" Text="4" />
            <asp:Button ID="num5" runat="server" Text="5" />
            <asp:Button ID="num6" runat="server" Text="6" />
            <asp:Button ID="btnClear" runat="server" Text="Clear" />
        </div>
        <div id="line3">
            <asp:Button ID="num7" runat="server" Text="7" />
            <asp:Button ID="num8" runat="server" Text="8" />
            <asp:Button ID="num9" runat="server" Text="9" />
            <asp:Button ID="btnEnter" runat="server" Text="Enter" Width="65px" OnClick="btnEnter_Click" />
        </div>
        <div id="line4">
            <asp:Button ID="numDot" runat="server" Text="." />
            <asp:Button ID="num0" runat="server" Text="0" />
            <asp:Button ID="numSharp" runat="server" Text="#" />
        </div>
    </div>

    <div id="insercard">
        <asp:Label ID="Label1" runat="server" Text="Insert your card here!"></asp:Label><br />
        <asp:TextBox runat="server" ID="txtCard"></asp:TextBox><br />
        <asp:Button runat="server" ID="btnInsertCard" Text="Insert card" OnClick="btnInsertCard_Click" />
    </div>

</div>
